#define _CRT_SECURE_NO_WARNINGS 
#include<stdio.h>

int main()
{
	char st[101][101] = { 0 };
	int cnt = 0;
	while ((scanf("%d", &cnt)) != EOF)
	{
		cnt++;
	}
	for (cnt = cnt-1; cnt >= 0; cnt--)
	{
		printf("%s", st[cnt]);
	}
	return 0;
}
